import {StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  scroll: {
    flex: 1,
  },
  head: {
    alignItems: 'center',
  },
  head_btn: {
    width: px2dp(176),
    height: px2dp(58),
    backgroundColor: '#F65624',
    borderRadius: px2dp(29),
    justifyContent: 'center',
    alignItems: 'center',
    marginTop: px2dp(47),
    marginBottom: px2dp(19),
  },
  btn_text: {
    fontSize: px2dp(26),
    color: '#fff',
    fontWeight: 'bold',
  },
  money: {
    fontSize: px2dp(22),
    color: '#F65624',
  },
  name: {
    fontSize: px2dp(18),
    color: '#666',
    marginTop: px2dp(21),
    marginBottom: px2dp(26),
  },
  step: {
    width: px2dp(296),
    flexDirection: 'row',
    justifyContent: 'space-between',
  },
  step_list: {
    justifyContent: 'center',
    alignItems: 'center',
  },
  line: {
    flex: 1,
    height: px2dp(1),
    backgroundColor: '#eee',
    marginTop: px2dp(14),
  },
  icon_container: {
    width: px2dp(28),
    height: px2dp(28),
    backgroundColor: '#F65624',
    borderRadius: px2dp(28),
    justifyContent: 'center',
    alignItems: 'center',
  },
  icon: {
    width: px2dp(16),
    height: px2dp(12),
  },
  step_text: {
    fontSize: px2dp(16),
    color: '#333',
    marginTop: px2dp(7),
  },
  content: {
    flexDirection: 'row',
    paddingHorizontal: px2dp(37),
    paddingTop: px2dp(56),
  },
  content_info: {
    flex: 1,
  },
  info_list: {
    flexDirection: 'row',
    marginBottom: px2dp(21),
    alignItems: 'center',
  },
  label: {
    color: '#333',
    fontSize: px2dp(24),
    fontWeight: 'bold',
    marginRight: px2dp(43),
    textAlign: 'right',
    width: px2dp(120),
  },
  lab_money: {
    color: '#EB0029',
  },
  label_text: {
    color: '#333',
    fontSize: px2dp(24),
  },
  img_container: {
    width: px2dp(164),
    alignItems: 'center',
  },
  prew: {
    width: px2dp(164),
    height: px2dp(95),
    backgroundColor: '#eee',
  },
  img: {
    width: px2dp(164),
    height: px2dp(95),
  },
  num: {
    width: px2dp(164),
    height: px2dp(24),
    backgroundColor: '#333',
    opacity: 0.68,
    position: 'absolute',
    left: 0,
    bottom: 0,
    justifyContent: 'center',
    alignItems: 'center',
  },
  num_text: {
    fontSize: px2dp(14),
    color: '#fff',
  },
  desc: {
    fontSize: px2dp(16),
    color: '#666',
    marginTop: px2dp(6),
  },
  gap: {
    height: px2dp(24),
    backgroundColor: 'rgb(250, 250, 250)',
  },
  order_title: {
    flexDirection: 'row',
    alignItems: 'center',
    height: px2dp(80),
  },
  order_line: {
    width: px2dp(6),
    height: px2dp(20),
    backgroundColor: '#EB0029',
    borderRadius: px2dp(2),
    marginLeft: px2dp(34),
    marginRight: px2dp(21),
  },
  order_title_text: {
    fontSize: px2dp(30),
    color: '#333',
    fontWeight: 'bold',
  },
  couse_detail: {
    flexDirection: 'row',
    paddingHorizontal: px2dp(26),
  },
  couse_cover_box: {
    width: px2dp(219),
    height: px2dp(224),
    marginRight: px2dp(21),
    backgroundColor: '#eee',
  },
  couse_cover: {
    width: px2dp(219),
    height: px2dp(224),
  },
  video_icon: {
    position: 'absolute',
    left: '50%',
    top: '50%',
    marginLeft: px2dp(-16),
    marginTop: px2dp(-16),
    width: px2dp(32),
    height: px2dp(32),
  },
  couse_detail_info: {
    flex: 1,
    paddingVertical: px2dp(13),
    height: px2dp(224),
  },
  couse_name: {
    fontWeight: 'bold',
    fontSize: px2dp(28),
    color: '#333',
  },
  couse_teacher: {
    fontSize: px2dp(22),
    color: '#333',
    marginVertical: px2dp(18),
  },
  couse_time: {
    fontSize: px2dp(16),
    color: '#666',
  },
  couse_money: {
    color: '#EB0029',
    fontWeight: 'bold',
    fontSize: px2dp(22),
    marginVertical: px2dp(13),
  },
  couse_desc: {
    fontSize: px2dp(16),
    color: '#999',
    lineHeight: px2dp(24),
  },
  couse_desc_title: {
    color: '#333',
  },
  order_container_list: {
    marginHorizontal: px2dp(37),
    marginTop: px2dp(37),
    borderBottomColor: '#eee',
    borderBottomWidth: px2dp(1),
    paddingBottom: px2dp(10),
  },
  order_money_container: {
    marginHorizontal: px2dp(37),
    marginTop: px2dp(37),
  },
  detail_btm: {
    height: px2dp(100),
    flexDirection: 'row',
    justifyContent: 'flex-end',
    alignItems: 'center',
  },
  btm_text: {
    fontSize: px2dp(20),
    color: '#333',
  },
  btn_money: {
    fontSize: px2dp(28),
    color: '#EB0029',
    fontWeight: 'bold',
    marginLeft: px2dp(32),
    marginRight: px2dp(84),
  },
  detail_container_btm: {
    height: px2dp(98),
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'flex-end',
    borderTopColor: '#f7f7f7',
    borderTopWidth: px2dp(1),
  },
  send_btn: {
    width: px2dp(136),
    height: px2dp(48),
    borderRadius: px2dp(8),
    borderWidth: px2dp(1),
    borderColor: '#ccc',
    justifyContent: 'center',
    alignItems: 'center',
    marginRight: px2dp(30),
  },
  send_btn_text: {
    color: '#EB0029',
    fontSize: px2dp(22),
  },
});

export default styles;
